package com.lagou;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/** 走我们自己写的数据源自动配置，这里要排除原有的 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@MapperScan("com.lagou.mapper")
public class SpringBootDataaccess2Application {

	public static void main(String[] args) {
		SpringApplication.run(SpringBootDataaccess2Application.class, args);
	}

}
